<!-- Generated automatically at 11/04/2011 -->
<div id="advertisement-add">
	<div class="header">Xác nhận thông tin</div>
	<div class="content">
<!-- Begin main form -->
  	<form name="add-form" id="add-form" method="post">
    		<table id="table-new-form">
<!-- Begin type -->   
    			<tr class="field">
    				<td class="label">
    					<label for="type">Loại tin</label>
    				</td>
    				<td class="content">
							<?php echo $type ?>
    				</td>
    			</tr>
<!-- End type -->   	
    			
<!-- Begin category -->   			
    			<tr class="field">
    				<td class="label">
    					<label for="categoryId">Danh mục</label>
    				</td>
    				<td class="content">
    					<?php echo $categoryName ?>
    				</td>
    			</tr>
<!-- End category --> 

<!-- Begin town --> 	
    			<tr class="field">
    				<td class="label">
    					<label for="town">Thành phố</label>
    				</td>
    				<td class="content">
							<?php echo $town ?>
    				</td>
    			</tr>
<!-- End town --> 

<!-- Begin name -->
    			<tr class="field">
    				<td class="label">
    					<label for="name">Người đăng</label>
    				</td>
    				<td class="content">
    				  <?php echo $name ?>
    				</td>
    			</tr>
<!-- End name -->
    			
<!-- Begin email -->        			
    			<tr class="field">
    				<td class="label">
    					<label for="email">Email</label>
    				</td>
    				<td class="content">
    					<?php echo $email ?>
    				</td>
    			</tr>
<!-- End email -->    

<!-- Begin telephone -->    			
    			<tr class="field">
    				<td class="label">
    					<label for="telephone">Điện thoại</label>
    				</td>
    				<td class="content">
    					<?php echo $telephone ?>
    				</td>
    			</tr>
<!-- End telephone -->

<!-- Begin title -->     			
    			<tr class="field">
    				<td class="label">
    					<label for="title">Tiêu đề</label>
    				</td>
    				<td class="content">
    					<?php echo $title ?>
    				</td>
    			</tr>
<!-- Begin title --> 

<!-- Begin description -->    			
    			<tr class="field">
    				<td class="label" id="label-description">
    					<label for="description">Nội dung</label>
    				</td>
    				<td class="content">
    					<pre><?php echo $description ?></pre>
    				</td>
    			</tr>
<!-- End description --> 

<!-- Begin price -->   			
    			<tr class="field">
    				<td class="label">
    					<label for="price">Giá</label>
    				</td>
    				<td class="content">
        		  <?php echo $price ?>
    				</td>
    			</tr>
<!-- End price -->  

<!-- Begin photos -->  
        	<tr class="field">
  					<td class="label">Ảnh</td>
  					<td class="content">
              <?php echo $photosData ?>
  					</td>
  				</tr>
<!-- End photos --> 

        	<tr class="field">
        		<td colspan="2">
        			<hr />
        			Hãy nhập mật khẩu bảo vệ cho tin của bạn để có thể thay đổi thông tin khi cần
        		</td>
        	</tr>
        	
        	<tr class="field">
        		<td class="label">Mật khẩu</td>
        		<td class="content"><?php echo htmlGenPasswordBox('password', 'password', '', '', true) ?></td>
        	</tr>
    
    			<tr>
    				<td></td>
    				<td>
    					<?php if(isset($error['password'])) echo "<div class='error' >".$error['password']."</div>" ?>
    				</td>
    			<tr>
    
        	<tr class="field">
        		<td class="label">Xác nhận</td>
        		<td class="content"><?php echo htmlGenPasswordBox('confirm', 'confirm', '', '', true) ?></td>
        	</tr>
    
    			<tr class="field">
    				<td></td>
    				<td>
    					<?php if(isset($error['confirm'])) echo "<div class='error' >".$error['confirm']."</div>" ?>
    				</td>
    			<tr>

    			<tr class="field">
    				<td colspan="2" align="center">
    					<br />
    					<?php echo htmlGenHiddenField('action', 'action', 'add') ?>
        			<?php echo htmlGenBackButton('btn_back', 'btn_back', 'Quay lại') ?>
        			<?php echo htmlGenSubmitButton('btn_submit', 'btn_submit', 'Xác nhận') ?>
    				</td>
    			</tr>
    	</table>
  	</form>
	</div>
</div>